Carbon


HGetFInfo

Header: Files.h Carbon status: Supported

Obtains the Finder information stored in the volume’s catalog for a file.

OSErr HGetFInfo (
    SInt16 vRefNum, 
    SInt32 dirID, 
    ConstStr255Param fileName, 
    FInfo *fndrInfo
);
vRefNum

A volume reference number, a working directory reference number, or 0 for the default volume.

dirID

A directory ID.

fileName

The name of the file.

fndrInfo

On return, a pointer to information used by the Finder. The function returns only the original Finder information—the FInfo structure, not FXInfo.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)